<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="MecArray,com.mechan.MecGrid.mecGridClasses.MecArray,defaultheight,defaultwidth,padding_bottom,padding_left,padding_right,padding_top,count,fixed,insertItemAt,item,treeHasChildren" name="keywords">
<title>com.mechan.MecGrid.mecGridClasses.MecArray</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'MecArray - MecGrid API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">MecGrid</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/mechan/MecGrid/mecGridClasses/MecArray.html&amp;com/mechan/MecGrid/mecGridClasses/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;MecArray</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class MecArray"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.mechan.MecGrid.mecGridClasses</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class MecArray</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">MecArray <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
 MecGrid Cols, or Rows Array Information
 MecArray contains DimInfo class
 
 -- functionality
 <li> Used to set fixed row or column index
 <li> row or column padding information
 <li> default width and height behavior of the row or column
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#count">count</a> : int<div class="summaryTableDescription">
   changes column or row size<br>
   if <code>redraw = true; </code>, the grid start drawing cell object with appropriate size
   </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defaultheight">defaultheight</a> : int = 18<div class="summaryTableDescription">
  default cell height
    </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defaultwidth">defaultwidth</a> : int = 100<div class="summaryTableDescription">
  default cell width
    </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#fixed">fixed</a> : int<div class="summaryTableDescription">
  Set fixed row or column index <br>
  If the row or column size is less then the fixed value,
  will decrease to column or row size<br><br>
  code example :<br>
  <code>grid.Rows.fixed = 1;</code><br>
  <code>grid.Cols.fixed = 1;</code>
  </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padding_bottom">padding_bottom</a> : int = 2<div class="summaryTableDescription">
  default cell padding (bottom)
  </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padding_left">padding_left</a> : int = 2<div class="summaryTableDescription">
  default cell padding (left)
  </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padding_right">padding_right</a> : int = 2<div class="summaryTableDescription">
  default cell padding (right)
  </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padding_top">padding_top</a> : int = 2<div class="summaryTableDescription">
  default cell padding (top)
  </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#insertItemAt()">insertItemAt</a>(r:int):<a href="../mecGridClasses/DimInfo.html">DimInfo</a>
</div>
<div class="summaryTableDescription">
  Insert row or column in specified position
    </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#item()">item</a>(index:int):<a href="../mecGridClasses/DimInfo.html">DimInfo</a>
</div>
<div class="summaryTableDescription"> 
  Returns DimInfo object (column or row's default property class)<br>
  <br>
  code example :<br>
  <code>var r:DimInfo = grid.Cols.item(5);</code><br>
  <code>r.with = 100; // change column width to 100</code>
    </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#treeHasChildren()">treeHasChildren</a>(row:<a href="DimInfo.html">DimInfo</a>):Boolean</div>
<div class="summaryTableDescription">
  Returns if this node has child node
    </div>
</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:dataChange">dataChange</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">MecArray</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="count"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">count</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>count:int</code>&nbsp;&nbsp;[read-write]<p>
   changes column or row size<br>
   if <code>redraw = true; </code>, the grid start drawing cell object with appropriate size
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get count():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set count(value:int):void</code>
<br>
</div>
<a name="defaultheight"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultheight</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var defaultheight:int = 18</code><p>
  default cell height
    </p><p>The default value is <code>18</code>.</p>
</div>
<a name="defaultwidth"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultwidth</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var defaultwidth:int = 100</code><p>
  default cell width
    </p><p>The default value is <code>100</code>.</p>
</div>
<a name="fixed"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fixed</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>fixed:int</code>&nbsp;&nbsp;[read-write]<p>
  Set fixed row or column index <br>
  If the row or column size is less then the fixed value,
  will decrease to column or row size<br><br>
  code example :<br>
  <code>grid.Rows.fixed = 1;</code><br>
  <code>grid.Cols.fixed = 1;</code>
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get fixed():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set fixed(value:int):void</code>
<br>
</div>
<a name="padding_bottom"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padding_bottom</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var padding_bottom:int = 2</code><p>
  default cell padding (bottom)
  </p><p>The default value is <code>2</code>.</p>
</div>
<a name="padding_left"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padding_left</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var padding_left:int = 2</code><p>
  default cell padding (left)
  </p><p>The default value is <code>2</code>.</p>
</div>
<a name="padding_right"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padding_right</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var padding_right:int = 2</code><p>
  default cell padding (right)
  </p><p>The default value is <code>2</code>.</p>
</div>
<a name="padding_top"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padding_top</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var padding_top:int = 2</code><p>
  default cell padding (top)
  </p><p>The default value is <code>2</code>.</p>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="insertItemAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">insertItemAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function insertItemAt(r:int):<a href="../mecGridClasses/DimInfo.html">DimInfo</a></code><p>
  Insert row or column in specified position
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">r</span>:int</code> &mdash; (row or column index) to insert at
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../mecGridClasses/DimInfo.html">DimInfo</a></code> &mdash; 
                        new DimInfo class object
  
                        
                     </td>
</tr>
</table>
</div>
<a name="item()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">item</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function item(index:int):<a href="../mecGridClasses/DimInfo.html">DimInfo</a></code><p> 
  Returns DimInfo object (column or row's default property class)<br>
  <br>
  code example :<br>
  <code>var r:DimInfo = grid.Cols.item(5);</code><br>
  <code>r.with = 100; // change column width to 100</code>
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; column or row index
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../mecGridClasses/DimInfo.html">DimInfo</a></code> &mdash; 
                        DimInfo class object for column and row information
    
                        
                     </td>
</tr>
</table>
</div>
<a name="treeHasChildren()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">treeHasChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function treeHasChildren(row:<a href="DimInfo.html">DimInfo</a>):Boolean</code><p>
  Returns if this node has child node
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">row</span>:<a href="DimInfo.html">DimInfo</a></code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; <code>true</code> the node has children
  </td>
</tr>
</table>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:dataChange"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dataChange</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.mechan.MecGrid.MecGridEvents</code></a>
<br>
<p></p>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
